#ifndef PSTASH_H
#define PSTASH_H
class PStash
{
private:
    int quantity;
    int next;
    void* *storage;
    void inflate(int increase);
public:
    //Stash(int size);
    PStash():quantity(0),storage(0),next(0){};
    ~PStash();
    int add(void *element);
    void* remove(int index);
    void* operator[](int index) const;
    int count() const{
        return next;
    };
};
#endif // PSTASH_H